package com.zdp.wx.service;

import com.zdp.wx.entity.PayResult;
import com.zdp.wx.entity.PreOrderResult;

import java.io.InputStream;

/**
 * @author sesshomaru
 * @date 2021/8/1 17:00
 */
public interface WxOrderService {

    /**
     * @Description: 调用微信接口进行统一下单
     */
    public PreOrderResult placeOrder(String body, String out_trade_no, String total_fee) throws Exception;

    /**
     * @Description: 获取支付结果
     */
    public PayResult getWxPayResult(InputStream inStream) throws Exception;
}
